package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.UserAuths;
import com.ruoyi.system.mapper.UserAuthsMapper;
import com.ruoyi.system.service.UserAuthsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author anan.
 * @version 1.0
 * @create 2021-06-16 14-59
 */
@Service
public class UserAuthsServiceImpl extends ServiceImpl<UserAuthsMapper, UserAuths> implements UserAuthsService {

	@Autowired
	private UserAuthsMapper userAuthsMapper;

	@Override
	public Map<String,Object> getRolesByIdentifier(String identifier) {
		return userAuthsMapper.getRolesByIdentifier(identifier);
	}
}
